package com.quanyan.place.entity.apireq;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by youxiaojia on 2017/1/18.
 */
public class ReqOrderHistory implements Serializable {
    @NotNull
    private Integer placeId;//场馆id
    @NotNull
    private String placeOrderId;//场馆订单号

    private Integer uid;//用户uid （线下散客可以不传）

    private BigDecimal amount;//实际金额  (排除 鸟蛋 优惠券 调价 会员优惠 等优惠方式)

    private Integer ticketCount;//门票张数
    @NotNull
    private Byte businessType;//交易类型：0：支付 1：退款 2：赠送
    @NotNull
    private Byte sourceType;//订单来源：1：线上 2：商家端
    @NotNull
    private Byte useType;//0：开单 1：包场 2：门票 3：app开单 4：多种经营 5:开卡 6:充值

    private Integer parentId;//包场父订单id
    @NotNull
    private Integer platform;//平台标识

    private Byte refundType;//0：全额 1：部分 退款

    /** 新增购物车 start **/
    private String orderItemUuid;

    private Integer goodsCount;

    /** 新增购物车 end **/

    private static final long serialVersionUID = 1L;

    public Integer getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }

    public String getPlaceOrderId() {
        return placeOrderId;
    }

    public void setPlaceOrderId(String placeOrderId) {
        this.placeOrderId = placeOrderId;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getTicketCount() {
        return ticketCount;
    }

    public void setTicketCount(Integer ticketCount) {
        this.ticketCount = ticketCount;
    }

    public Byte getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Byte businessType) {
        this.businessType = businessType;
    }

    public Byte getUseType() {
        return useType;
    }

    public void setUseType(Byte useType) {
        this.useType = useType;
    }

    public Byte getRefundType() {
        return refundType;
    }

    public void setRefundType(Byte refundType) {
        this.refundType = refundType;
    }

    public Byte getSourceType() {
        return sourceType;
    }

    public void setSourceType(Byte sourceType) {
        this.sourceType = sourceType;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getPlatform() {
        return platform;
    }

    public void setPlatform(Integer platform) {
        this.platform = platform;
    }

    public String getOrderItemUuid() {
        return orderItemUuid;
    }

    public void setOrderItemUuid(String orderItemUuid) {
        this.orderItemUuid = orderItemUuid;
    }

    public Integer getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(Integer goodsCount) {
        this.goodsCount = goodsCount;
    }
}
